//
//  SWMessageController.swift
//  SinaWeibo
//
//  Created by wszyxc on 16/7/17.
//  Copyright © 2016年 wszyxc. All rights reserved.
//

import UIKit

class SWMessageController: SWBaseController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        
        
        

    }
    
    override func loadView() {
        
        if SWUserAcountViewModel.sharedUserAcountViewModel.isLogin{
            
            super.loadView()
            
        }else{
            
            view = SWMessageVisitorView()
            
        }
        
    }
    
    
}
